<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>开关</title>
    <link rel="stylesheet" href="./css/reset.css">
    <link rel="stylesheet" href="./css/switch.css">
    <link rel="stylesheet" href="./css/font-awesome.min.css">
</head>

<body>
    <label class="switch" for="s1">
        <input type="checkbox" id="s1">
        <span class="s2">
            <i class="fa fa-power-off"></i>
        </span>
    </label>

    <label for="sw1" class="btn">
        <input type="checkbox" id="sw1">
        <div class="b1"></div>

    </label>

</body>

</html>